package com.vca.common.model.invoice;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Li
 * @description 发票和订单关系表
 * @date 2023-02-10 13:14
 */

@Data
@TableName("vca_invoice_order_relation")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="InvoiceOrderRelation对象", description="发票和订单关系表")
public class InvoiceOrderRelation implements Serializable {

    private static final long serialVersionUID = 1204449749247708549L;

    @ApiModelProperty(value = "课程主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "发票ID")
    private Long invoiceId;

    @ApiModelProperty(value = "订单主键id")
    private Integer orderId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
